package gam.n1.bc;

import org.bukkit.ChatColor;
import org.bukkit.entity.Player;

public final class BroadCastManager {
    public static void a(Player p,String msg){
        p.sendMessage(i(msg));
    }
    public static void t(Player p,String t,String f){
        p.sendTitle(i(t),i(f),1,1,1);
    }
    private static String i(String t){
        return ChatColor.translateAlternateColorCodes('&',t);
    }
}
